package net.tycmc.cty.ctyms.web.Dao;

import java.util.List;
import java.util.Map;

import net.tycmc.bulb.common.dao.IBaseDAO;
import net.tycmc.cty.ctyms.timejob.common.MyBaseDAO;

public class MaintForstCastDao {
	private IBaseDAO baseDAO;
	private MyBaseDAO mbd;
	public MyBaseDAO getMbd() {
		return mbd;
	}

	public void setMbd(MyBaseDAO mbd) {
		this.mbd = mbd;
	}

	public IBaseDAO getBaseDAO() {
		return baseDAO;
	}

	public void setBaseDAO(IBaseDAO baseDAO) {
		this.baseDAO = baseDAO;
	}
	public Map<String,Object> getMaintForstCastDataOfToday(){
		String sql="select count(*) cnt,convert(varchar(10),getdate(),120)Newdate from MtnForst_InfoNew";
		return baseDAO.execQueryOne(sql, new Object[]{});
	}
}
